icon factory: Add gtk_icon_set_render_icon_surface
authorAlexander Larsson <alexl@redhat.com>
Tue, 25 Jun 2013 11:59:51 +0000 (13:59 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 3 Jul 2013 12:39:26 +0000 (14:39 +0200)
commit635ae9bd919a60d4241a9c5a546fc281a5e4d59f
treeebde753e91d8c948dfcc3fe4cc061ee0c97bbe17
parent91a268f00e26448325cacf81536cfe2ed30a52d1
icon factory: Add gtk_icon_set_render_icon_surface

Support scales when falling back to loading icons from the
icon theme.

In order to actually render scaled icons we add
gtk_icon_set_render_icon_surface which renders to a cairo_surface_t
which includes whatever scaling you need for scaled icons.
gtk/gtkiconfactory.c
gtk/gtkstylecontext.h